

package jetbrains.buildServer.server.rest.data.change;

import java.util.Collection;
import jetbrains.buildServer.users.SUser;
import org.jetbrains.annotations.NotNull;

public class CommiterData {
  @NotNull
  private final String myVcsUsername;
  @NotNull
  private final Collection<SUser> myUsers;

  public CommiterData(@NotNull String vcsUsername, @NotNull Collection<SUser> users) {
    myVcsUsername = vcsUsername;
    myUsers = users;
  }

  @NotNull
  public String getVcsUsername() {
    return myVcsUsername;
  }

  @NotNull
  public Collection<SUser> getUsers() {
    return myUsers;
  }
}